.header {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  height: 11.7333vw;
  background-color: #fff;
  width: 100%;
  line-height: 11.7333vw;
  font-size: 4.2667vw;
  color: #000;
  font-weight: 700;

  span {
    width: 8vw;
    text-align: left;
    font-size: 6.4vw;
    padding-left: 1.3333vw;
  }

  p {
    flex: 1;
    text-align: center;
    margin-right: 8vw;
  }
}

.search {
  margin-top: 11.7333vw;
  padding: 2.6667vw;
  display: flex;
  line-height: 8.5333vw;
  color: #6d6d6d;

  .input {
    height: 8.5333vw;
    flex: 1;
    border-radius: 4.8vw;
    margin-right: 2.3333vw;
    font-size: 3.4667vw;
    border-top-left-radius: 1.3333vw;
    border-bottom-left-radius: 1.3333vw;
    text-align: center;
    background-color: #f7f7f7;

    .iconfont {
      font-size: 4.2667vw;
    }
  }

  .icon {
    width: 8vw;

    i {
      font-size: 4.2667vw;
    }

    .icon-a-10Icaidanbuju {
      display: none;
    }

    .icon-huifumorenbuju {
      display: block;
    }
  }
}

.content {
  .condition {
    display: flex;
    height: 12vw;

    li {
      width: 33%;
      height: 12vw;
      text-align: center;
      font-size: 3.7333vw;
      color: #000;
      line-height: 12vw;
    }

    .active {
      color: #e49a3d;
    }

    .last {
      position: relative;

      .icon-xialajiantou1 {
        position: absolute;
        right: 23%;
        top: -10%;
        font-size: 3.2vw;
      }

      .icon-xiajiantou {
        position: absolute;
        right: 23%;
        top: 14%;
        font-size: 3.2vw;
      }
    }
  }

  .main {
    display: flex;
    flex-wrap: wrap;
    padding: 0.4vw;
    margin: 0.6667vw;

    a {
      width: 48vw;

      .goods-item {
        width: 49.5%;
        height: 66vw;
        padding: 0.6667vw;
        background-color: #fff;
        margin-right: 1%;
        margin-bottom: 1%;

        img {
          height: 48vw;
        }

        .detail {
          padding: 0.9333vw;

          p {
            width: 180px;
            font-size: 3.4667vw;
            color: #484848;
            overflow: hidden;
            -webkit-line-clamp: 2;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
          }

          .one {
            font-size: 4vw;
            color: #fa2209;
          }

          .two {
            font-size: 3.2vw;
            color: #999;
            text-decoration: line-through;
          }
        }

        .price {
          width: 180px;
        }
      }

      .goods-item:nth-child(2n) {
        margin-right: 0;
      }
    }

    .sun {
      width: 80vw;
      height: 77.3333vw;
      margin-left: 40px;
      margin-top: 20px;
      // background-color: skyblue;
      text-align: center;

      img {
        width: 55.7333vw;
        height: 36.2667vw;
      }

      p {
        font-size: 5.3333vw;
        color: grey;
        margin: 9.8667vw 0;
      }

      .sum {
        width: 164px;
        margin: 0 auto;
        font-size: 23px;
        height: 47px;
        line-height: 47px;
        text-align: center;
        color: #fff;
        border-radius: 37px;
        background: linear-gradient(90deg, #f9211c, #ff6335);
      }
    }
  }

  .mainLine {
    display: none;
    padding: 2.6667vw;
    margin: 0 auto;

    .goods-item {
      display: flex;
      padding: 1.6vw;
      margin-bottom: 2.6667vw;

      img {
        width: 32vw;
        height: 32vw;
      }

      .detail {
        padding-left: 8vw;
        .ellipsis-2 {
          font-size: 3.4667vw;
          color: #484848;
          overflow: hidden;
          -webkit-line-clamp: 2;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-box-orient: vertical;
        }
        .sales{
          display: block !important;
          color: #999 !important;
          font-size: 3.7333vw !important;
          margin: 10px 0;
        }
        // .ellipsis {
        //   color: #999 !important;
        //   font-size: 12px !important;
        //   margin: 10px 0;
        // }
      }

      .sell {
        font-size: 3.2vw;
        color: #999;
        margin: 1.3333vw 0;
      }

      .one {
        font-size: 4vw;
        color: #fa2209;
      }

      .two {
        font-size: 3.2vw;
        color: #999;
        text-decoration: line-through;
      }
    }
  }

  .sun {
    width: 80vw;
    height: 77.3333vw;
    margin-left: 33px;
    margin-top: 16px;
    // background-color: skyblue;
    text-align: center;

    img {
      width: 55.7333vw;
      height: 36.2667vw;
    }

    p {
      font-size: 5.3333vw;
      color: grey;
      margin: 9.8667vw 0;
    }

    .sum {
      width: 164px;
      margin: 0 auto;
      font-size: 23px;
      height: 47px;
      line-height: 47px;
      text-align: center;
      color: #fff;
      border-radius: 37px;
      background: linear-gradient(90deg, #f9211c, #ff6335);
    }
  }
}
